*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body{
  background: #cccccc;
}
ol,ul{
  list-style: none;
}
@font-face {
  font-family: 'iconfont';
  src: url('../font/iconfont.ttf?t=1637632715661') format('truetype');
}
.iconfont {
  font-family: "iconfont" !important;
  font-size: 16px;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
#app{
  position:relative;
  display: flex;
  width: 100%;
  height: 100vh;

}
.mask_img{
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background-image: url("https://tse1-mm.cn.bing.net/th/id/OIP-C.3dEvA4aEcT2P79gRTAftnwHaHa?pid=ImgDet&rs=1");
  background-size: 100% 100%;
  background-position: center;
  z-index: -2;
  filter: blur(20px);
}
.mask_gb{
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background: rgba(0,0,0,.5);
  z-index: -1;
}
.app_left{
  position: relative;
  width: 900px;
  height: 100%;
}
.music_list{
  padding: 0 10px;
  color: #ffffff;
  min-height: 500px;
}
.music_list li{
  display: flex;
  margin: 20px 0;
  line-height: 50px;
  font-size: 20px;
  border-bottom: 2px solid transparent;
}

.music_list li:hover .music_list_btn{
  visibility: visible;
}
.music_name{
  padding-left: 20px;
  width: 500px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.music_list_btn{
  /*显示或隐藏元素而不更改文档的布局。*/
  visibility: hidden;
  width: 200px;
  font-size: 26px;
  text-align: center;
}
.music_list_btn span{
  margin: 0 20px;
  cursor: pointer;
}
.music_singer{
  width: 100px;
  text-align: center;
}
.music_timer{
  flex: 1;
  text-align: center;
}

/*音乐控制台的样式*/
.music_control{
  position: relative;
  display: flex;
  justify-content: space-evenly;
  bottom: 10px;
  width: 100%;
  height: 60px;
  line-height: 60px;
}
/*进度条样式*/
#music_progress_box{
  position: relative;
  width: 600px;
  height: 5px;
  background: #ffffff;
  top: 40%;
}

/*已经播放的长度*/
#music_progress_played{
  position: absolute;
  width: 0;
  height: 5px;
  background: deepskyblue;
}
#music_progress{
  position: absolute;
  width: 10px;
  height: 10px;
  background: #23404c;
  border-radius: 50%;
  top: 50%;
  left: 0;
  transform: translateY(-47%);
}
.music_control_btn{
  font-size: 30px;
  cursor: pointer;
}
.music_control_btn:hover{
  color: #ffffff;
}
/*单独设置播放按钮的样式*/
#play_btn{
  font-size: 50px;
}
/*播放的切换的样式*/
#play_type{
  position: relative;
  font-size: 30px;
  cursor: pointer;
}
#play_type:hover ul{
  display: block;
  padding: 10px 5px;
}
#play_type ul{
  display: none;
  position: absolute;
  bottom: 60px;
  width: 70px;
  text-align: center;
  left: 50%;
  transform: translateX(-50%);
}
#play_type ul li:hover{
  color: #ffffff;
}



.app_right{
  position: relative;
  flex: 1;
  height: 100%;
}
.music_cover_box{
  position: relative;
  width: 200px;
  height: 200px;
  line-height: 200px;
  margin: 20px auto;
  overflow: hidden;
  /*box-shadow: 0 20px 10px 15px transparent;*/
  color: hsla(0,0%,88.2%,.8);
}
.music_cover_box img{
  position: absolute;
  left: 0;
  top: 0;
}
.music_cover_box .music_cover_logo{
  z-index: 2;
  width: 100%;
  height: 100%;
}
.music_cover_box .music_cover_img{
  width: 80%;
  height: 80%;
  z-index: 1;
  border-radius: 50%;
  margin: 20px;
  /*执行动画*/
  animation: music_cover_img_ani 30s linear infinite;
}
@keyframes music_cover_img_ani {
  to{
    transform: rotate(0);
  }
  from{
    transform: rotate(-360deg);
  }
}
/*歌词部分*/
.music_lrc{
  position: relative;
  width: 100%;
  height: 400px;
  text-align: center;
  overflow: hidden;
  /*border-top: 2px solid red;*/
  /*border-bottom: 2px solid red;*/
  color: white;
  /*filter: blur(10px);*/
  /*
    歌词边缘透明的样式
    mask-image语法介绍：
    mask-image用于设置元素上遮罩层的图像
    注意：某些浏览器尚在开发中，不在标准文档中
    默认值：none(透明的黑色图像层，也就是没有遮罩层)

  */
  -webkit-mask-image: linear-gradient(
  180deg,hsla(0,0%,100%,0) 0,hsla(0,0%,100%,.6) 15%,#fff 25%,#fff 75%,hsla(0,0%,100%,.6) 85%,hsla(0,0%,100%,0));
}
.music_lrc_ul{
  position: absolute;
  left: 50%;
  height: 100%;
  transform: translateX(-50%);
}
.music_lrc li{
  width: 100%;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  line-height: 30px;
}
/*当前歌词的样式*/
.current_lrc{
  font-size: 20px;
  color: deepskyblue;
}

/*音量键*/
.voice_mask{
  opacity: 0;
  position: absolute;
  padding: 10px 20px;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-100%);
  font-size: 25px;
  background: rgba(0,0,0,.8);
  color: #ffffff;
  border-radius: 10px;
  z-index: -1;
  transition: opacity 500ms;
}
#voice_number{
  margin-left: 5px;
}
